/*
 * =====================================================================================
 *
 *       Filename:  wektor.h
 *
 *    Description:  
 *
 *        Version:  1.0
 *        Created:  19.01.2010 17:12:43
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  Michal Antonczak (uzyszkodnik), uzyszkodnik.priv@gmail.com
 *        Company:  
 *
 * =====================================================================================
 */

#pragma once
using namespace std;
class Wektor{
        public:
                double x,y;
                double angle;
		double value;

        Wektor();

        Wektor(double val, double iangle);

        void  setval(double val, double iangle) ;

        friend Wektor operator+ (const Wektor& a,const Wektor&b);

	friend Wektor operator- (const Wektor&a, const Wektor& b);

	friend Wektor operator* (const Wektor&a, const double&b);

	friend Wektor operator/ (const Wektor&a, const double&b);

};
